New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor Python module_utils locator #70610
Conversation
* no longer recursive * embed special-case module code internally * share common code between collections/not cases * fixes ansible#70134 * properly support subpackage redirection * adds support for FQCN redirect targets used by migration (expands to FQ Python name) * add tests
68818d3
to
6e47c56
Compare
The test
The test
|
|
||
|
||
def recursive_finder(name, module_fqn, data, py_module_names, py_module_cache, zf): | ||
def recursive_finder(name, module_fqn, module_data, zf): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we concerned that changing the signature here could break an public interfaces?
The test
The test
|
* refactor Python module_utils locator * no longer recursive * embed special-case module code internally * share common code between collections/not cases * fixes ansible#70134 * properly support subpackage redirection * adds support for FQCN redirect targets used by migration (expands to FQ Python name) * add tests * add changelog (cherry picked from commit c616e54)
* refactor Python module_utils locator * no longer recursive * embed special-case module code internally * share common code between collections/not cases * fixes #70134 * properly support subpackage redirection * adds support for FQCN redirect targets used by migration (expands to FQ Python name) * add tests * add changelog (cherry picked from commit c616e54)
…g collections (#70725) * Followup to #70610: fix redirects to wrong collections * gcp module_utils is in community.general. * dellos10_* modules are in dellemc_networking.os10, not dellemc.os10. * intersight_facts was renamed to intersight_info in cisco.intersight in version 1.0.7. * Fix more dellos10 redirects.
…to wrong collections (ansible#70725) * Followup to ansible#70610: fix redirects to wrong collections * gcp module_utils is in community.general. * dellos10_* modules are in dellemc_networking.os10, not dellemc.os10. * intersight_facts was renamed to intersight_info in cisco.intersight in version 1.0.7. * Fix more dellos10 redirects. (cherry picked from commit cf21717)
…g collections (#70725) (#70743) * Followup to #70610: fix redirects to wrong collections * gcp module_utils is in community.general. * dellos10_* modules are in dellemc_networking.os10, not dellemc.os10. * intersight_facts was renamed to intersight_info in cisco.intersight in version 1.0.7. * Fix more dellos10 redirects. (cherry picked from commit cf21717)
SUMMARY
ISSUE TYPE
COMPONENT NAME
module_common
ADDITIONAL INFORMATION